package org.xb.demo;

/**
 * @Author
 * @Description
 * @Date created in 11:52 2023/12/11
 */
public class Facade {
    private SystemA systemA = new SystemA();
    private SystemB systemB = new SystemB();
    private SystemC systemC = new SystemC();
    public void methodA(){
        systemA.systemA();
        System.out.println("this is methodA");
        systemB.systemB();
    }

    public void methodB(){
        systemC.SystemC();
        System.out.println("this is methodB");
        systemA.systemA();
    }
}
